package com.zjun.enums;

public enum FlagEnum {
    FALSE(0),
    TRUE(1);


    private final Integer flag;

    FlagEnum(Integer flag){this.flag = flag;}

    public Integer code(){return this.flag;}
    public String codeStr(){return String.valueOf(this.flag);}

    @Override
    public String toString() {return codeStr();}
}
